package factory;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StudentStrategy implements Calc {

    private static final  Logger LOGGER = LoggerFactory.getLogger(StudentStrategy.class);
    public void run(int length) {
        LOGGER.info("学生跑完{}米需要{}秒",length,length/5);
    }

    @Override
    public void drink(int length) {
        LOGGER.info("学生喝完{}毫升水需要{}秒",length,length/8);
    }
}
